package com.apache.flow.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "FLOW_HISTROY")
public class FlowHistroy implements java.io.Serializable {

	// Fields    

	private String hisId;
	private String hisUserName;
	private String hisFormId;
	private String hisFormDay;
	private String hisFormPrice;
	private String hisFormType;
	private String hisFormName;
	private String hisFormInfo;
	private String hisSysEname;
	private String hisCreateTime;
	private String hisAssignee;
	private String hisState;
	private String hisTaskName;
	private String hisProcessinsId;
	private String hisTaskId;
	private String hisNextUser;

	// Constructors

	/** default constructor */
	public FlowHistroy() {
	}

	/** minimal constructor */
	public FlowHistroy(String hisId) {
		this.hisId = hisId;
	}

	/** full constructor */
	public FlowHistroy(String hisId, String hisUserName, String hisFormId, String hisFormDay, String hisFormPrice,
			String hisFormType, String hisFormName, String hisFormInfo, String hisSysEname, String hisCreateTime,
			String hisAssignee, String hisState, String hisTaskName, String hisProcessinsId, String hisTaskId,
			String hisNextUser) {
		this.hisId = hisId;
		this.hisUserName = hisUserName;
		this.hisFormId = hisFormId;
		this.hisFormDay = hisFormDay;
		this.hisFormPrice = hisFormPrice;
		this.hisFormType = hisFormType;
		this.hisFormName = hisFormName;
		this.hisFormInfo = hisFormInfo;
		this.hisSysEname = hisSysEname;
		this.hisCreateTime = hisCreateTime;
		this.hisAssignee = hisAssignee;
		this.hisState = hisState;
		this.hisTaskName = hisTaskName;
		this.hisProcessinsId = hisProcessinsId;
		this.hisTaskId = hisTaskId;
		this.hisNextUser = hisNextUser;
	}

	// Property accessors
	@Id
	@Column(name = "HIS_ID", unique = true, nullable = false, length = 100)
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid.hex")
	public String getHisId() {
		return this.hisId;
	}

	public void setHisId(String hisId) {
		this.hisId = hisId;
	}

	@Column(name = "HIS_USER_NAME", length = 300)
	public String getHisUserName() {
		return this.hisUserName;
	}

	public void setHisUserName(String hisUserName) {
		this.hisUserName = hisUserName;
	}

	@Column(name = "HIS_FORM_ID", length = 300)
	public String getHisFormId() {
		return this.hisFormId;
	}

	public void setHisFormId(String hisFormId) {
		this.hisFormId = hisFormId;
	}

	@Column(name = "HIS_FORM_DAY", length = 100)
	public String getHisFormDay() {
		return this.hisFormDay;
	}

	public void setHisFormDay(String hisFormDay) {
		this.hisFormDay = hisFormDay;
	}

	@Column(name = "HIS_FORM_PRICE", length = 300)
	public String getHisFormPrice() {
		return this.hisFormPrice;
	}

	public void setHisFormPrice(String hisFormPrice) {
		this.hisFormPrice = hisFormPrice;
	}

	@Column(name = "HIS_FORM_TYPE", length = 100)
	public String getHisFormType() {
		return this.hisFormType;
	}

	public void setHisFormType(String hisFormType) {
		this.hisFormType = hisFormType;
	}

	@Column(name = "HIS_FORM_NAME", length = 300)
	public String getHisFormName() {
		return this.hisFormName;
	}

	public void setHisFormName(String hisFormName) {
		this.hisFormName = hisFormName;
	}

	@Column(name = "HIS_FORM_INFO", length = 500)
	public String getHisFormInfo() {
		return this.hisFormInfo;
	}

	public void setHisFormInfo(String hisFormInfo) {
		this.hisFormInfo = hisFormInfo;
	}

	@Column(name = "HIS_SYS_ENAME", length = 100)
	public String getHisSysEname() {
		return this.hisSysEname;
	}

	public void setHisSysEname(String hisSysEname) {
		this.hisSysEname = hisSysEname;
	}

	@Column(name = "HIS_CREATE_TIME", length = 100)
	public String getHisCreateTime() {
		return this.hisCreateTime;
	}

	public void setHisCreateTime(String hisCreateTime) {
		this.hisCreateTime = hisCreateTime;
	}

	@Column(name = "HIS_ASSIGNEE", length = 300)
	public String getHisAssignee() {
		return this.hisAssignee;
	}

	public void setHisAssignee(String hisAssignee) {
		this.hisAssignee = hisAssignee;
	}

	@Column(name = "HIS_STATE", length = 100)
	public String getHisState() {
		return this.hisState;
	}

	public void setHisState(String hisState) {
		this.hisState = hisState;
	}

	@Column(name = "HIS_TASK_NAME", length = 300)
	public String getHisTaskName() {
		return this.hisTaskName;
	}

	public void setHisTaskName(String hisTaskName) {
		this.hisTaskName = hisTaskName;
	}

	@Column(name = "HIS_PROCESSINS_ID", length = 100)
	public String getHisProcessinsId() {
		return this.hisProcessinsId;
	}

	public void setHisProcessinsId(String hisProcessinsId) {
		this.hisProcessinsId = hisProcessinsId;
	}

	@Column(name = "HIS_TASK_ID", length = 100)
	public String getHisTaskId() {
		return this.hisTaskId;
	}

	public void setHisTaskId(String hisTaskId) {
		this.hisTaskId = hisTaskId;
	}

	@Column(name = "HIS_NEXT_USER", length = 300)
	public String getHisNextUser() {
		return this.hisNextUser;
	}

	public void setHisNextUser(String hisNextUser) {
		this.hisNextUser = hisNextUser;
	}

}